#!/bin/bash

timestamp="$(date +%Y%m%d%H%M%S)"
targetbase="$HOME/screenshots"
mkdir -p $targetbase
[ -d $targetbase ] || exit 1
notify-send "Archivo guardado en $targetbase/$timestamp.png" && scrot $targetbase/$timestamp.png
